package com.tcpengine.handler;
import io.netty.channel.Channel;

// 网络包
public class NetPackage {
	public static int WS_TYPE = 1;
	public static int TCP_TYPE = 2;
	
	public Msg msg;
	public Channel ch;
	public int netType;		// 网络协议类型，websocket 或 tcp
	public NetPackage(){
		
	}
	public NetPackage(Msg msg, Channel channel, int netType){
		this.msg  = msg;
		this.ch = channel;
		this.netType = netType;
	}
}
